<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>注册页面</title>
    <link rel="stylesheet" href="./register.css">
</head>

<body>
    <!-- 网页头部 -->
    <header class="head">
        <div class="head-box wrap df jsb">
            <div class="head-left">
                <a href="../home/home.html"><img src="../../assets/imgs/new-logo-white2.png" alt=""></a>
            </div>
            <div class="head-right">
                <p>已有源码账号，<a href="../login/login.html">立即登录</a></p>
            </div>
        </div>
    </header>

    <!-- 注册内容区 -->
    <div class="content">
        <div class="regCont">
            <div class="regbox">
                <h2>欢迎注册</h2>
                <h3>百款接口免费试用</h3>
                <p class="reg-desc">注册即送300元大礼包</p>
                <div class="reg-item">
                    <input type="text" placeholder="用户名（6-20位字母数字以字母开头）" class="ipt inp">
                    <img src="../../assets/imgs/clearInput.png" alt="">
                    <p class="error-cont">
                        <span class="error-icon"></span>
                        <span class="error-msg">昵称需在6-12位字母数字间</span>
                    </p>
                </div>
                <div class="reg-item">
                    <input type="tel" placeholder="请输入手机号码" class="ipt1 inp">
                    <img src="../../assets/imgs/clearInput.png" alt="" class="img1">
                    <p class="error-cont">
                        <span class="error-icon"></span>
                        <span class="error-msg phone">请输入正确的手机号</span>
                    </p>
                </div>
                <div class="reg-item">
                    <input type="text" placeholder="请输入手机短信验证码" class="ipt2 inp">
                    <button>获取验证码</button>
                    <img src="../../assets/imgs/clearInput.png" alt="" class="clear img2">
                    <p class="error-cont">
                        <span class="error-icon"></span>
                        <span class="error-msg code">请输入4位手机验证码</span>
                    </p>
                </div>
                <div class="reg-item">
                    <input type="password" placeholder="请输入6至12位的密码" class="ipt3 inp">
                    <img src="../../assets/imgs/clearInput.png" alt="" class="img3">
                    <p class="error-cont">
                        <span class="error-icon"></span>
                        <span class="error-msg pwd">请输入6至12位的密码</span>
                    </p>
                </div>
                <p class="agreement">
                    <label>
                        <input type="checkbox" class="check">
                        <span>我已阅读并接受</span>
                        <a href="#">《源码用户服务协议》 《源码隐私政策》</a>
                    </label>
                </p>
                <button class="btn" disabled>立即注册</button>
            </div>
        </div>
    </div>

    <script src="../../assets/libs/fn.js"></script>
    <script src="./register.js"></script>
</body>

</html>